package com.gitee.zhengjiasen.dp.decorator.demo1;

import java.math.BigDecimal;

/**
 * 饮料抽象类
 */
public abstract class Beverage {

    String description = "Unknown Beverage";

    public String getDescription() {
        return description;
    }

    /**
     * cost方法是用来返回饮料的价钱(需在具体类中自己实现)
     * @return
     */
    public abstract BigDecimal cost();

}
